<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .logo{
            width:200px;
            height:200px;
            background-color: pink;
            display: inline-block;
            text-indent:-10em;              /*使用文字首行缩进挤掉百度两字*/
        }
    </style>
</head>
<body>
   <a href="#" class="logo">百度</a>
</body>
</html>